//
//  WBHomeViewController.swift
//  微博
//
//  Created by 仲启明 on 2017/1/4.
//  Copyright © 2017年 swift. All rights reserved.
//

import UIKit

class WBHomeViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "", imageName: "navigationbar_pop", target: self, action: #selector(nextPage))
        
    }
    
    @objc private func nextPage(){
        
        let testVC = WBTestViewController()
        
        navigationController?.pushViewController(testVC, animated: true)
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
